package cn.tac.test.seo.rpc.core.pojo;

import com.google.common.base.MoreObjects;

import java.util.Date;

/**
 * @author tac
 * @since 20/12/2017
 */
public class Foo {
    public Foo() {
    }

    public Foo(String bar1, Integer bar2, Boolean bar3, Date bar4) {
        this.bar1 = bar1;
        this.bar2 = bar2;
        this.bar3 = bar3;
        this.bar4 = bar4;
    }

    private String bar1;
    private Integer bar2;
    private Boolean bar3;
    private Date bar4;

    public String getBar1() {
        return bar1;
    }

    public void setBar1(String bar1) {
        this.bar1 = bar1;
    }

    public Integer getBar2() {
        return bar2;
    }

    public void setBar2(Integer bar2) {
        this.bar2 = bar2;
    }

    public Boolean getBar3() {
        return bar3;
    }

    public void setBar3(Boolean bar3) {
        this.bar3 = bar3;
    }

    public Date getBar4() {
        return bar4;
    }

    public void setBar4(Date bar4) {
        this.bar4 = bar4;
    }

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("bar1", bar1)
                .add("bar2", bar2)
                .add("bar3", bar3)
                .add("bar4", bar4)
                .toString();
    }
}
